package com.base.myproject.client.busi;

/**
 * 字段信息。
 * @author zgw
 *2009-10-10 下午03:58:35
 * javazgw@gmail.com
 */
public class ColumnInfo {
	String name;
	int type;
	
	public static final int STRING = 1;
	public static final int DOUBLE = 2;
	public static final int DATETIME = 4;

	public ColumnInfo(String name,int type)
	{
		this.name = name;
		this.type = type;
		
	}


	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}


	/**
	 * @param type the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}
	

}
